/* Importing Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apply Poppins font globally to all elements */
body, html {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Ensuring all text elements use Poppins font */
h1, h2, h3, h4, h5, h6, p, span, a, button {
    font-family: 'Poppins', sans-serif;
    color: inherit; /* Ensure text color is inherited from the body or section */
}

        .blog-container {
            text-align: center;
            padding: 40px 20px;
            padding-left: 80px;
            padding-right: 80px;
        }

        .blog-container h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
        }

        .blog-container h1 span {
            color: #df915d;
        }

        .blog-container p {
            font-size: 1em;
            margin-bottom: 30px;
            color: #666;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 38px;
            padding: 20px;
        }

        .blog-card {
            background: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        .blog-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .blog-content {
            padding: 20px;
            flex-grow: 1;
        }

        .blog-meta {
            font-size: 0.9em;
            color: #999;
            margin-bottom: 10px;
        }

        .blog-card h3 {
            font-size: 1.5em;
            margin-bottom: 10px;
            color: #333;
        }

        .blog-card p {
            text-decoration: none; /* Remove underline */
        }

        .read-more {
            text-decoration: none;
            font-size: 0.9em;
            color: #fff;
            font-weight: bold;
            background-color: #df915d;
            padding: 10px 15px;
            border-radius: 5px;
            display: inline-block;
            transition: background-color 0.3s ease;
        }


        .read-more:hover {
            background-color: #c57a4c;
        }

        @media (max-width: 768px) {
            .blog-container {
                padding: 20px;
            }
        }





        



/* General Styling for the Latest Blogs Section */









}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
    flex-grow: 1; /* Makes sure the content takes up available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.blog-card p {
    font-size: 0.95em;
    line-height: 1.5;
    color: #666;
    margin-bottom: 15px;
    text-decoration: none; /* Remove underline */
}

/* Button Styling */
.read-more {
    text-decoration: none;
    font-size: 0.9em;
    color: #fff;
    font-weight: bold;
    background-color: #df915d; /* Orange button */
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
    align-self: center; /* Center button in the card */
    margin-top: auto; /* Pushes the button to the bottom of the card */
}

.read-more:hover {
    background-color: #c57a4c;
}

.blog-card-link {
    text-decoration: none;
    color: inherit; /* Ensures the text inherits the card styles */
}

/* Responsive Design */
@media (min-width: 768px) and (max-width: 1024px) {
        .blog-container {
            padding: 20px;
        }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 20px;
    }
}